import 'package:flutter/material.dart';

class ShopPage extends StatefulWidget {
  @override
  _ShopPageState createState() => _ShopPageState();
}

class _ShopPageState extends State<ShopPage> {
  @override
  Widget build(BuildContext context) {
    return Center(
      child: TextButton(
        child: Text('登录'),
        onPressed: (){
          Navigator.pushNamed(context, '/login');
        },
      ),
    );
  }
}
